using Net35.Xrm.Sdk;
using System;
using System.Runtime.Serialization;
namespace Net35.Crm.Sdk.Messages
{
	[DataContract(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed class RetrievePrincipalAccessResponse : OrganizationResponse
	{
		public AccessRights AccessRights
		{
			get
			{
				if (base.Results.Contains("AccessRights"))
				{
					return (AccessRights)base.Results["AccessRights"];
				}
				return AccessRights.None;
			}
		}
	}
}
